package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @author heixiaolv.com
 * @date 2021/12/1 22:40
 */
public interface SetmealDao {


    void add(Setmeal setmeal);

    void setSetmealAndCheckgroup(Map map);

    Page<Setmeal> selectByCondition(String queryString);

    List<Setmeal> findAll();

    //根据id查询详细的套餐信息
    Setmeal findById(int id);

    Setmeal findSetmealById(int id);

    List<Map<String, Object>> findSetmealCount();
}
